package base.day12;

import java.util.Scanner;

public class Substring {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入电话号码：");
        String s=sc.nextLine();
        String sub1 = s.substring(0, 3);
        String sub2 = s.substring(7);
        System.out.println(sub1+"****"+sub2);
    }
}
